<template>
  <div class="container">
    <div class="first-line">
      <div class="first-line-left-box">
        <div class="round">
          <div class="round-inner"></div>
        </div>
        <div class="year">2024 年 12 月 </div>
      </div>
      <img src="@/assets/img/more.png"/>

    </div>
    <div class="title">飞廉系统开发进度</div>
    <div class="progress-box">
      <div class="tag" style="left: 65%">
        72%
        <div class="triangle"></div>
      </div>
      <div class="progress">
        <div class="progress-inner"></div>
      </div>
    </div>
    <div class="middle">
      <div style="margin-top: 2.083vw;color: #8a8f97;">参与者 ：</div>
      <div class="imgBox" >
        <img v-for="(item,index) in 6" :key="item" :style="{position: 'absolute', left: `${index*30}px`, top: '0', }" src="@/assets/img/dashboard/avatar.png"/>
      </div>
    </div>
    <div class="btn">邀请参与者</div>
  </div>
</template>
<script>
export default {
  name: 'BottomRight'
}
</script>

<style scoped lang="scss">
.container{
  box-sizing: border-box;
  padding: 0.521vw;

  .first-line{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.729vw;

img{
  height: 1.042vw;
}

.first-line-left-box{
  display: flex;
  align-items: center;

  .year{
    margin-left: 0.521vw;
    font-weight: 600;
  }

  .round{
    position: relative;
    width: 0.781vw;
    height: 0.781vw;
    background-color:#1762f2;
    border-radius: 50%;

    .round-inner{
      position: absolute;
      inset: 0;
      width: 0.469vw;
      height: 0.469vw;
      margin: auto;
      background-color: #fff;
      border-radius: 50%;
    }
  }
}

  }

  .title{
    margin-top: 0.521vw;
    font-weight: 600;
    font-size: 1.042vw;
    letter-spacing: 0.104vw;
    text-align: center;
  }

  .progress-box{
    position: relative;

    .tag{
      position: absolute;
      top:-1.823vw;
      width: 2.604vw;
      height: 1.042vw;
      color: white;
    font-weight: 600;
      line-height: 1.042vw;
      text-align: center;
      background-color:#1762f2 ;
      border-radius: 0.26vw;

      .triangle{
        position: absolute;
        right: 0;
          bottom: -0.208vw;
        left: 0;
        width: 0;
        height: 0;
        margin: auto;
        border-top: 0.26vw solid #1762f2;
        border-right: 0.26vw solid transparent;
        border-left: 0.26vw solid transparent;

      }
    }

    .progress{
      position: relative;
      width: 19.792vw;
      height: 0.521vw;
      margin-top: 1.823vw;
      background-color: #f1f1f2;
      border-radius: 0.521vw;

      .progress-inner{
        position: absolute;
        top: 0;
        left: 0;
        width: 72%;
        height: 100%;
        background: linear-gradient(to right, #26c9fe, #1762f2);
        border-radius: 0.521vw;
      }
    }
  }

  .middle{
    display: flex;
    align-items: center;
    margin-bottom: 2.083vw;

    .imgBox{
      position: relative;
      display: flex;

      img{
        width: 1.823vw;
        height: 1.823vw;
        border: 0.156vw solid #ccc;
        border-radius: 2.604vw;
      }
    }
  }

.btn{
  width: 7.813vw;
  height: 1.563vw;
  margin: auto;
  color: #1762f2;
  line-height: 1.563vw;
  text-align: center;
  background-color: var(--ep-color-background);
  border-radius: 0.781vw;

}
}
</style>
